package com.koudai.reader.conponment;

import android.app.Activity;
import android.view.View;
import android.view.View.OnClickListener;

public class GotoPayOnclickListener implements OnClickListener {

    private Activity context;
    private int money;
    private String operation;
    
    public GotoPayOnclickListener (Activity context, int pay, String operation) {
        this.context = context;
        this.money = pay;        
        this.operation = operation;
    }

    @Override
    public void onClick(View v) {
        
        PayUtil.pay(operation, money, context);
    
    }

}
